package edu.jiefengli.course_selection_system.service;

import edu.jiefengli.course_selection_system.pojo.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;

public interface UserService {
    User login(User user);

    List<User> getAllUsers();

    void addUser(User user);

    User getUserById(int id);
}
